using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameTimer
{
    float timer = 0f;
    public float Timer
    { 
        get { return timer; }
        set { timer = value>0?value:0f; }
    }
    
    public bool isOver() => Mathf.Approximately(timer, 0f);
}
